﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DevToolBox.Cloud.Common
{
    /// <summary>
    /// Method to parse an specific result from an
    /// third party persistance service
    /// </summary>
    public interface IParseable
    {
        /// <summary>
        /// Parse the object obj into a new data type
        /// which is well known by the function consumer
        /// </summary>
        /// <param name="obj">Object to parse from</param>
        /// <returns>Parsed object</returns>
        object Parse(object obj);
    }
}
